<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head th:replace="main_layout::html_header(_, _)">

</head>
 
<body class="hold-transition skin-blue fixed">
<div class="wrapper">

<header class="main-header" th:replace="main_layout::header">
</header>

<aside class="main-sidebar">
	<section class="sidebar" th:replace="main_layout::menu">
	</section>
</aside>

<div class="content-wrapper">
<section class="content">
	
</section>
</div>
  
<footer class="main-footer" th:replace="main_layout::footer">
</footer>


<aside class="control-sidebar control-sidebar-light">
    
</aside>

<div class="control-sidebar-bg" ></div>

</div>

<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script>
//type: success error warning info question
//https://www.npmjs.com/package/sweetalert2#modal-types
swal({   
	title: "[[${title} ?: '提示信息']]",   
	text: "[[${text}]]",   
	icon: "[[${type} ?: 'success']]",
	button: "[[${btnText} ?: '返回首页']]"
}).then(function(){
	window.location.href="[[@{${url} ?: '/'}]]";	
});
</script>
</body>
</html>
